package com.ai.manager.edu.cms.info;

import java.util.List;

import com.ai.model.edu.cms.info.InfoPublishLocation;
import com.ai.model.edu.cms.info.dto.InfoPublishLocationDTO;
import com.ai.model.edu.cms.info.vo.InfoPublishLocationVO;

public interface InfoPublishLocationManager {
	
	/**
	 * 批量新增发布 定位
	 * daizy
	 * @param list
	 */
	public void batchAddInfoPublishLocation(List<InfoPublishLocation> list);
	
	/**
	 * 根据模版类型  时间  查询需要发布的模块资讯信息
	 * @param dto
	 * @return
	 */
	public List<InfoPublishLocationVO> findMustPublishLocationInfoByLocType(InfoPublishLocationDTO dto);
	
	/**
	 * 根据模版类型   查询游客版面信息
	 * @param locType
	 * @return
	 */
	public List<InfoPublishLocationVO> findMustPublishYkInfoByLocType(Byte locType);
	
	/**
	 * 根据模版以及角色  查询对应的资讯发布的版面信息
	 * @param dto
	 * @return
	 */
	public List<InfoPublishLocationVO> findGXInfoByLocTypeAndPyAndRc(InfoPublishLocationDTO dto);
	
	/**
	 * 批量修改发布状态
	 * @param ids
	 */
	public void batchEditInfoPublishLocation(List<Long> ids);

    /***
     * 根据位置类型或者发布对象查询资讯列表
     * @param dto
     * @return
     */
    public List<InfoPublishLocationVO> findInfoByLocTypeOrObjType(InfoPublishLocationDTO dto);

	/***
	 * 单条更新资讯资料
	 * @param dto
	 */
	public void editInfoPublishLocation(InfoPublishLocationDTO dto);
}